extends "../guanghui-1/guanghui-1.gd"

func _extInit():
	._extInit()
	lv = 2
	addSkill("受到伤害时回复[4%*血上限]的血量(内置冷却1秒)", "装甲空母")
var p2 = 0.04
func onHurtEnd(atkInfo):
	.onHurtEnd(atkInfo)
	if enable:
		healCha(self, att.maxHp*p2)
		enable = false

var enable = true
func _upS():
	._upS()
	enable = true